# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=ovos-skill-installer
pkgver=0.0.2
pkgrel=2
pkgdesc="Mycroft skill installer from .zip or .tar.gz urls"
url="https://github.com/OpenVoiceOS/ovos_skill_installer"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/o/ovos_skill_installer/ovos_skill_installer-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/${pkgname//-/_}-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="88312083d227e39a1e1b42fbfbce802378a18a542c26a3962c6b1e7fb630a557953f47a835e6a76fc9e2d14afe361fe2213cfbf8a686b147b7e732b8ce621dff  ovos_skill_installer-0.0.2.tar.gz"
